export default { 
	
	//商家详情
	getStoreInfo(params){
		return this.vm.$u.post(`/store/getdetail?id=${params}`,params,{useStoreApi: true})
	},
	//线下消费
	StorePay(params){
	 	return this.vm.$u.post(`/store/storepay`,params,{useStoreApi: true})
	},
	//商家收款码
	getQrcode(params){
		return this.vm.$u.post(`/store/storeqrcode`,params,{useStoreApi: true})
	},
	//商家入驻让利比
	getStorebili(params){
		return this.vm.$u.get('/store/storeinto',params,{useStoreApi: true})
	},
	//商家入驻
	StoreInfo(params){
		return this.vm.$u.post('/store/storeinto',params,{useStoreApi: true,contenttype:true})
	},
	//银行卡列表
	getBankCard(params){
		return this.vm.$u.post('/user/userbanklist',params,{useStoreApi: true})
	},
	//商家详情
	GetStoreInfo(params){
		return this.vm.$u.post('/store/shopindex',params,{useStoreApi: true})
	},
	//查询支付结果
	queryOrderPay(params){
		return this.vm.$u.post(`/store/queryorderpay`,params,{useStoreApi: true})
	},
	//商家订单详情
	GetshopOrder(params){
		return this.vm.$u.post('/store/shoporder',params,{useStoreApi: true})
	},
	//商家购物券详情
	GetQuanInfo(params){
		return this.vm.$u.post('/store/shopcoupon',params,{useStoreApi: true})
	},
	//商家收款二维码
	Getpayimg(params){
		return this.vm.$u.get('/store/posters',params,{useStoreApi: true})
	},
	//提现配置
	Getpayset(params){
		return this.vm.$u.post('/store/withdraw_shopinfo',params,{useStoreApi: true})
	},
	
	//提现列表
	Getpaylist(params){
		return this.vm.$u.post('/store/withdraw_index',params,{useStoreApi: true})
	},
	
	//提现配置修改
	Chagepay(params){
		return this.vm.$u.post(`/store/get_shopinfo?alipay_name=${params.alipay_name}&alipay_code=${params.alipay_code}`,params,{useStoreApi: true})
	},
	//银行卡配置修改
	Chagecard(params){
		return this.vm.$u.post(`/store/get_shopinfo?bank_code=${params.bank_code}&bank_name=${params.bank_name}&bank_user=${params.bank_user}`,params,{useStoreApi: true})
	},
	
	//提现配置修改
	Tixian(params){
		return this.vm.$u.post(`/store/get_withdraw?money=${params.money}&is_type=${params.is_type}`,params,{useStoreApi: true})
	},
	//提现记录
	getRecord(params){
		return this.vm.$u.post('/store/withdraw_list',params,{useStoreApi: true})
	},
	//确认收款
	confirmReceipt(params){
		return this.vm.$u.post('/store/transfer',params,{useStoreApi: true})
	},
	//获取信息
	getinfo(params){
		return this.vm.$u.get('/store/get_shopinfo',params,{useStoreApi: true})
	},
	//修改信息
	Changeinfo(params){
		return this.vm.$u.post('/store/get_shopinfo',params,{useStoreApi: true,contenttype:true})		
	},
	//获取菜单列表
	getmenuinfo(params){
		return this.vm.$u.get('/ycshop/Common/category',params,{useStoreApi: true})
	},
	//获取类目列表
	getcatelist(params){
		return this.vm.$u.get('/ycshop/Product/getCateList',params,{useStoreApi: true})
	},
	//获取商品
	getCateGoods(params,pageS){
		return this.vm.$u.get('/ycshop/Product/getCateGoods',params,{useStoreApi: true,pageS})
	},
	//商品详情
	getGoodsInfo(params){
		return this.vm.$u.get('/ycshop/Product/goods',params,{useStoreApi: true})
	},
	//商品收藏
	goodsFollow(params){
		return this.vm.$u.post('/ycshop/Product/follow',params,{useStoreApi: true})
	},
	//商品搜索
	getGoods(params,pageS){
		return this.vm.$u.get('/ycshop/Product/lists',params,{useStoreApi: true,pageS})
	},
	//提交订单
	addOrder(params){
		return this.vm.$u.post('/ycshop/Order/addOrder',params,{useStoreApi: true,contenttype:true})
	},
	//支付信息
	getPay(params){
		return this.vm.$u.post('/ycshop/Pay/getPay',params,{useStoreApi: true,contenttype:true})
	},
	//订单详情
	getOrderInfo(params){
		return this.vm.$u.get('/ycshop/Order/getOrderInfo',params,{useStoreApi: true})
	},
	// 取消订单
	cancelOrder(params){
		return this.vm.$u.post(`/ycshop/Order/cancelOrder?id=${params.id}`,params,{useStoreApi: true})
	},
	// 删除订单
	DeleteOrder(params){
		return this.vm.$u.post(`/ycshop/Order/delOrder?id=${params.id}`,params,{useStoreApi: true})
	},
	//微信支付
	WXPay(params){
		return this.vm.$u.post('/ycshop/Pay/payment',params,{useStoreApi: true})
	},
	//猜你喜欢
	getYoulike(params){
		return this.vm.$u.get('/ycshop/Product/likes',params,{useStoreApi: true})
	},
	//修改订单地址
	changeAddress(params){
		return this.vm.$u.post('/ycshop/Order/editOrderAddress',params,{useStoreApi: true})
	},
	//确认收货
	confirmOrder(params){
		return this.vm.$u.post('/ycshop/Order/confirmOrder',params,{useStoreApi: true,contenttype:true})
	},
	//申请退货
	Refund(params){
		return this.vm.$u.post('/ycshop/Refund/addApply',params,{useStoreApi: true})
	},
	//退货详情
	getRefundInfo(params){
		return this.vm.$u.get('/ycshop/Refund/getRefundInfo',params,{useStoreApi: true})
	},
	//撤销退货
	closeRefund(params){
		return this.vm.$u.get('/ycshop/Refund/closeRefund',params,{useStoreApi: true})
	},
	//身份证识别
	idcardOcr(params){
		return this.vm.$u.get('/Miniapp/idcardOcr',params,{useStoreApi: true})
	},
	//身份证识别
	getAccessToken(params){
		return this.vm.$u.get('/Miniapp/getAccessToken',params,{useStoreApi: true})
	},
	//评价
	commentOrder(params){
		return this.vm.$u.post('/ycshop/Order/commentOrder',params,{useStoreApi: true,contenttype:true})
	},
	//查看物流
	getLogistics(params){
		return this.vm.$u.post('/ycshop/Order/getLogistics',params,{useStoreApi: true,contenttype:true})
	},
	confirm_withdraw(params){
		return this.vm.$u.post('/store/confirm_withdraw',params,{useStoreApi: true})
	},
	// Getpaylist(params){
	// 	return this.vm.$u.post('/store/Getpaylist',params,{useStoreApi: true})
	// }
	//提现列表
	Getpaylist(params){
		return this.vm.$u.post('/store/withdraw_index',params,{useStoreApi: true})
	},
	//取消提现
	cancelConfirm(params){
		return this.vm.$u.post('/store/cancelConfirm',params,{useStoreApi: true})
	},
	isOpen(params){
		return this.vm.$u.get('/store/isOpen',params,{useStoreApi: true})
	},
	//保存商品
	saveGoods(params){
		return this.vm.$u.post(`/merchant/add`,params,{useStoreApi: true})
	},
	//支付订单
	payOrder(params){
		return this.vm.$u.post('/store/pay_goods',params,{useStoreApi: true})
	},
	//台州支付
	taizhouPay(params){
		return this.vm.$u.post('/ebankpay/payCreateOrder',params,{useStoreApi: true})
	}
	
}